package com.zhuangjie.mvc.helper;

import com.zhaungjie.base.utils.BigDecimalUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.math.RoundingMode;

@Configuration
public class HelpersRegister {
    @Bean
    public BigDecimalUtils bigDecimalUtils() {
        return new BigDecimalUtils(2, RoundingMode.DOWN);
    }
}
